import layout from '@/layout/index.vue'
const deviceRouter = {
  sort: 2,
  path: '/device',
  component: layout,
  redirect: 'index',
  // hidden: true, // 隐藏路由
  meta: {
    menuId: '9',
    title: '设备管理',
    icon: '设备管理'
  },
  children: [
    {
      path: '/device/basic',
      name: 'basic',
      component: () => import('@v/device/basic.vue'),
      meta: {
        sort: 21,
        menuId: '10',
        title: '基本管理',
        icon: '基本管理'
      }
    },
    {
      path: '/device/basic/detail',
      name: 'deviceDetail',
      hidden: true,
      component: () => import('@v/device/detail.vue'),
      meta: {
        title: '设备详情',
        icon: '用户'
      }
    },
    {
      path: '/device/deviceInfo/getDeviceLogList',
      name: 'DeviceLogList',
      hidden: true,
      component: () => import('@v/device/DeviceLogList.vue'),
      meta: {
        title: '查询批量注册结果',
        icon: '用户'
      }
    },
    {
      path: '/device/remote',
      name: 'remote',
      component: () => import('@v/device/remote.vue'),
      hidden: true,
      meta: {
        sort: 22,
        menuId: '11',
        title: '远程管理',
        icon: '用户'
      }
    }
  ]
}
export default deviceRouter
